/*
 * Copyright (c) 2025 CAX Conversion Project
 */
package com.comac.ins.isfd.domain.bo;

import com.comac.ins.common.core.validate.AddGroup;
import com.comac.ins.common.core.validate.EditGroup;
import com.comac.ins.common.mybatis.core.domain.BaseEntity;
import com.comac.ins.isfd.domain.IsfdMetalMaterial;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.util.List;

/**
 * 【请填写功能名称】业务对象 isfd_metal_material
 *
 * @author Lion Li
 * @date 2024-08-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = IsfdMetalMaterial.class, reverseConvertGenerate = false)
public class IsfdMetalMaterialBo extends BaseEntity {

    /**
     * 对象存储主键
     */
    @NotNull(message = "对象存储主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 材料名称
     */
    @NotBlank(message = "材料名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String materialName;

    /**
     * 材料卡编号
     */
    @NotBlank(message = "材料卡编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String materialNumber;

    /**
     * E(MPa)
     */
    @NotNull(message = "E(MPa)不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double e;

    /**
     * NU
     */
    @NotNull(message = "NU不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double nu;

    /**
     * G(MPa)
     */
    @NotNull(message = "G(MPa)不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double g;

    /**
     * RHO
     */
    @NotNull(message = "RHO不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double rho;

    /**
     * Thm Cooe.
     */
    @NotNull(message = "Thm Cooe.不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double thmCooe;

    /**
     * 元数据管理id
     */
    private String metadataManagementId;

    /**
     * 元数据管理ids，作为检索条件
     */
    private List<String> metadataManagementIds;
}
